package com.itheima.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ValidateCodeMapper {

    @Select("select count(*) from t_user where telephone=#{telephone}")
    Integer existTelephone(String telephone);
}
